﻿/**  版本信息模板在安装目录下，可自行修改。
* Category.cs
*
* 功 能： N/A
* 类 名： Category
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2013/11/15 20:20:49   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace BBPA.Model
{
	/// <summary>
	/// Category:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Category
	{
		public Category()
		{}
		#region Model
		private int _id;
		private string _number;
		private int _rank=0;
		private int _fathercategoryid=0;
		private string _categoryid_tree;
		private string _name;
		private int? _picid=0;
		private string _description;
		private DateTime _dateandtime= DateTime.Now;
		private int _state=0;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Number
		{
			set{ _number=value;}
			get{return _number;}
		}
		/// <summary>
		/// 排序，从0开始
		/// </summary>
		public int Rank
		{
			set{ _rank=value;}
			get{return _rank;}
		}
		/// <summary>
		/// 父级分类ID
		/// </summary>
		public int FatherCategoryID
		{
			set{ _fathercategoryid=value;}
			get{return _fathercategoryid;}
		}
		/// <summary>
		/// ID树
		/// </summary>
		public string CategoryID_Tree
		{
			set{ _categoryid_tree=value;}
			get{return _categoryid_tree;}
		}
		/// <summary>
		/// 分类名称
		/// </summary>
		public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 图片
		/// </summary>
		public int? PicID
		{
			set{ _picid=value;}
			get{return _picid;}
		}
		/// <summary>
		/// 详细描述
		/// </summary>
		public string Description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime Dateandtime
		{
			set{ _dateandtime=value;}
			get{return _dateandtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int State
		{
			set{ _state=value;}
			get{return _state;}
		}
		#endregion Model

	}
}

